import { connect } from 'react-redux'
import Home from '../../views/Home'

function mapStateToProps(state: any) {
    return {
        list: state.home.list,
        userInfo: state.user.userInfo
    }
}

function mapDispatchToProps(dispatch: (obj: any) => void) {
    return {
    }
}

export default connect(mapStateToProps, mapDispatchToProps)(Home)